package com.designpatternspart2.structuraldesignpatterns.decoratorpattern;

/**
 *
 * @author Lance
 */
public abstract class AnimalDecorator implements Animal
{

    private Animal animal;

    public AnimalDecorator(Animal animal)
    {
        this.animal = animal;
    }

    public Animal getAnimal()
    {
        return animal;
    }

    public void setAnimal(Animal animal)
    {
        this.animal = animal;
    }
}
